import { RouterProvider } from 'react-router-dom'
import { Suspense } from 'react'
import routers from './router'

function App() {
  return (
    <Suspense fallback={<div>页面正在加载中...</div>}>
      <RouterProvider router={routers} />
    </Suspense>
  )
}

export default App
